<tr class="prop">
  <td valign="top" class="name">Contacts:</td>
  <td  valign="top" style="text-align:left;" class="value">
    <tdcmw:displayHTMLList list="${company.contacts}" controller="person" sort="asc"><font class="errorMessage"><g:message code="no.company.contacts" /></font></tdcmw:displayHTMLList>
    <!--<tdcmw:displayHTMLList list="${company.contacts}" controller="person" sort="asc"><font class="errorMessage">There were no contacts found for this company.</font></tdcmw:displayHTMLList>-->
    <tdcmw:linkButton action="createContact" label="Create Contact" params="[id:company.id, returnAction:'show']" />
    <tdcmw:linkButton action="listContacts" label="List Contacts" params="[id:company.id, returnAction:'show']" />
  </td>
</tr>
<tr class="prop">
  <td valign="top" class="name">Representatives:</td>
  <td  valign="top" style="text-align:left;" class="value">
      <tdcmw:displayHTMLList list="${company.reps}" controller="person" action="showRep" sort="asc"><font class="errorMessage"><g:message code="no.company.reps" /></font></tdcmw:displayHTMLList>
  </td>
</tr>
<tr class="prop">
  <td valign="top" class="name">
    <label for="officeCalls">Office Calls:</label>
  </td>
  <td valign="top" class="value ${hasErrors(bean:company,field:'officeCalls','errors')}">
    <tdcmw:displayHTMLList list="${company.officeCalls}" controller="officeCall" action="show" sort="asc" max="5"><font class="errorMessage"><g:message code="no.company.office.calls" /></font></tdcmw:displayHTMLList>
    <tdcmw:linkButton action="createOfficeCall" params="[id:company.id, returnAction:'show']" label="Create Office Call" />
  </td>
</tr>
<tr class="prop">
  <td valign="top" class="name">
    <label for="notifications">Notifications:</label>
  </td>
  <td valign="top" class="value">
    <tdcmw:displayHTMLList list="${company.notifications}" controller="notification" sort="asc" max="5"><g:message code="no.company.notifications" /></tdcmw:displayHTMLList>
    <tdcmw:linkButton action="createNotification" params="[id:company.id, returnAction:'show']" label="Create Notification" />
  </td>
</tr>
<tr class="prop">
  <td valign="top" class="name">
    <label for="officeHours">Office Hours:</label>
  </td>
  <td valign="top" class="value">
    <tdcmw:displayHTMLList list="${company.officeHours}" controller="officeHours" sort="asc"><g:message code="no.company.office.hours" /></tdcmw:displayHTMLList>
  </td>
</tr>
<tr class="prop">
  <td valign="top" class="name">
    <label for="offices">Offices:</label>
  </td>
  <td valign="top" class="value">
    <tdcmw:displayHTMLList list="${company.offices}" controller="company" sort="asc"><g:message code="no.company.offices" /></tdcmw:displayHTMLList>
  </td>
</tr>
<tr class="prop">
  <td valign="top" class="name">
    <label for="outOfOffice">Out Of Office:</label>
  </td>
  <td valign="top" class="value">
    <tdcmw:displayHTMLList list="${company.closed}" controller="outOfOffice" sort="asc"><g:message code="no.company.out.of.office" /></tdcmw:displayHTMLList>
  </td>
</tr>
